package admin

import (
	auto "beergo/app/com/auto/controller"
	"beergo/app/com/conf"
	"github.com/beego/beego/v2/server/web"
)

type BannerAdminController struct {
	auto.BannerController
}

func init() {
	web.Router(conf.UrlPrefixAdmin + "/Banner/:id", 		&BannerAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefixAdmin + "/Banner/info", 		&BannerAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefixAdmin + "/Banner/scan", 		&BannerAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefixAdmin + "/Banner/list", 	    &BannerAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefixAdmin + "/Banner/update", 	&BannerAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefixAdmin + "/Banner/create", 	&BannerAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefixAdmin + "/Banner/copy", 	    &BannerAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefixAdmin + "/Banner/edit", 	    &BannerAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefixAdmin + "/Banner/delete", 	&BannerAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefixAdmin + "/Banner/:id/:field", &BannerAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefixAdmin + "/Banner/choice", &BannerAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefixAdmin + "/Banner/category", &BannerAdminController{}, "*:CategoryAction")
}
//func (this *BannerAdminController) Prepare() {}
//func (this *BannerAdminController) ListAction() {}
//func (this *BannerAdminController) GetAction() {}
//func (this *BannerAdminController) InfoAction() {}
//func (this *BannerAdminController) ScanAction() {}
//func (this *BannerAdminController) CreateAction() {}
//func (this *BannerAdminController) UpdateAction() {}
//func (this *BannerAdminController) CopyAction() {}
//func (this *BannerAdminController) DeleteAction() {}
//func (this *BannerAdminController) EditAction() {}
//func (this *BannerAdminController) SonsAction() {}
//func (this *BannerAdminController) ChoiceAction() {}
//func (this *BannerAdminController) CategoryAction() {}
